package com.yb.java.abstract_factory;

import com.yb.java.abstract_factory.color.Color;
import com.yb.java.abstract_factory.shape.Shape;

/**
 * @program: design-pattern
 * @description: 为 Color 和 Shape 对象创建抽象类来获取工厂
 * @author: Mr.Bo
 * @create: 2021-04-29 01:55
 **/
public abstract class AbstractFactory {
    public abstract Color getColor(String color);
    public abstract Shape getShape(String shape) ;
}
